<div class="panel panel-default" id="showServers" style=" overflow: auto;">

        <p class="navbar-form" style="width:100%;margin-bottom:10px;">
        <div class="input-group" style="padding:10px;">
                <input type="text" class="form-control searchValue" placeholder="搜索任意关键字" style="width:100%;" >
                <span class="input-group-btn" >
                        <button class="btn btn-success">
                                <span class="glyphicon glyphicon-search">搜索</span>
                        </button>
                </span>
        </div>
       </p>
    <div class="panel-heading" style="z-index: 1;background: white;">
        <button class="btn btn-success btn-xs" id="createCrond" type="button"><span
                class="glyphicon glyphicon-plus "></span></button>
        <button class="btn btn-default btn-xs" id="refreshCrond" type="button"><span
                class="glyphicon glyphicon-refresh "></span></button>

    </div>



<table class="table table-bordered table-hover table-striped  table-condensed "  style="background: white" >
    <thead>
    <tr>
        <th>主机</th>
        <th>运行时间</th>
        <th>命令</th>
        <th>注释描述</th>
        <th>采集时间</th>
        <th style="min-width:60px;">操作</th>

    </tr>
    </thead>
    <tbody  id="AshowCrondLog">

    </tbody>

</table>

</div>





<div  style="position: fixed;left: 0px;right: 0px;top: 0px;bottom: 0%;margin: auto;display:none ;z-index: 1004;" id="showCrontabDiv">

    <div class="modal "
         style="height: 95%;overflow:hidden;overflow-y:hidden;position:relative;left:0px;right:0px;bottom:0px;top:0px;margin:auto;display:block;">
        <div class="modal-dialog">
            <div class="modal-content  ">
                <div class="modal-header" style="cursor: move;">

                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>

                    <h4 class=" glyphicon glyphicon-success  glyphicon glyphicon-edit " >Linux计划任务</h4>
                </div>


                <div class="modal-body">
			<div class="input-group col-md-12" style="margin-top: 10px">
                        <!--用户名-->
                        <div class="input-group-addon "  style="width: 17%">服务器</div>
                        <input  id="server" class=" form-control "  style="width: 100%" >
                    </div>

			<div class="input-group col-md-12" style="margin-top: 10px">
                        <!--用户名-->
                        <div class="input-group-addon "  style="width: 17%">运行时间</div>
                        <input  id="runtime" class=" form-control "  style="width: 100%"  placeholder="使用Linux计划任务格式">
                    </div>
			<div class="input-group col-md-12" style="margin-top: 10px">
                        <!--用户名-->
                        <div class="input-group-addon "  style="width: 17%">命令</div>
                        <input  id="cmd" class=" form-control "  style="width: 100%" >
                    </div>

			<div class="input-group col-md-12" style="margin-top: 10px">
                        <!--用户名-->
                        <div class="input-group-addon "  style="width: 17%">注释</div>
                        <input  id="dest" class=" form-control "  style="width: 100%" >
                    </div>

                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal" id="closeCrontab">取消</button>
                    <button type="button" class="btn btn-success" data-dismiss="modal" id="saveCrontab">保存</button>
                </div>
            </div>
        </div>
    </div>
</div>





<div id="showCrondHost"
     style="z-index: 1004;position: fixed;left: 0px;right: 0px;top:0px;margin: auto;display:none;">
    <div class="modal  "
         style="overflow: visible;position:relative;left:0px;right:0px;bottom:0px;top:0px;margin:auto;display:block;">
        <div class="modal-dialog" style="left: 0px; margin-top: 0px;padding:0px;padding-top: 0px;">
            <div class="modal-content " >
                <div class="modal-header" style="cursor: move;">

                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>

                    <h4 class=" glyphicon glyphicon-filter " style="color: green;cursor:pointer;">选择服务器</h4>
                </div>

                <div class="modal-body">
                    <table class="table table-bordered table-hover table-striped  table-condensed">
                        <thead>
                        <tr>
                            <th>主机组</th>
                            <th>主机</th>
                        </tr>
                        </thead>
                        <tbody id="selectCrondTbody">

                        <!--
                        这里是tr，每一行

                        -->
                        </tbody>

                    </table>


                    <!---->


                </div>

                <div class="modal-footer">
                    <button type="button" class="btn btn-default" id="closeServerSelect" style="float:left;">取消
                    </button>
                    <button type="button" class="btn btn-success" id="saveServerSelect" style="float:right;">确定
                    </button>
                </div>
            </div>
        </div>
    </div>
</div>







<script src="../js/crondLog.js"></script>
